package com.haima.ziliao.domain;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 版本管理对象 p_banben
 * 
 * @author hima
 * @date 2024-10-21
 */
public class PBanben implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 版本 */
    @Excel(name = "版本")
    private String banben;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBanben(String banben) 
    {
        this.banben = banben;
    }

    public String getBanben() 
    {
        return banben;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("banben", getBanben())
            .toString();
    }
}
